import 'package:flutter/material.dart';
import 'package:mpflutter_template/demo/icon_config_default.dart';

import 'color_constant.dart';

class MarkWidget extends StatelessWidget{
  @override
  Widget build(BuildContext context) {
    return Container(
        margin: const EdgeInsets.only(left: 12, right: 12,top: 8),
        decoration:
        BoxDecoration(borderRadius: BorderRadius.all(Radius.circular(8)),color: ColorConstant.white,),
        child: Column(
          children: [
            Container(
              margin: const EdgeInsets.only(left: 12,top: 12),
              alignment: Alignment.centerLeft,
              child: Text("商城"),
            ),
            ListView.builder(
                itemCount: 2,
                shrinkWrap: true,
                physics: NeverScrollableScrollPhysics(),
                itemBuilder: (context,index) {
                  return Column(
                    children: [
                      Container(
                        height: 200,
                        child: Row(
                          mainAxisAlignment: MainAxisAlignment.start,
                          children: [
                            Expanded(
                                child: Container(
                                    height: 200,
                                    margin: const EdgeInsets.only(left: 12,right: 3),
                                    child: Image.network("https://consumerapp-1251779293.image.myqcloud.com/discovery/202211/falpo7sr1kc.png")
                                )),
                            Expanded(child: Container(
                                height: 200,
                                margin: const EdgeInsets.only(left: 3,right: 12),
                                child: Image.network("https://consumerapp-1251779293.image.myqcloud.com/discovery/202211/falpo7sr1kc.png")
                            ))
                          ],
                        ),
                      )
                    ],
                  );
                }
            )
          ],
        ),
    );
  }

}